import {
  getRouter
} from '@/utils/index'

/**
 * 预算编制阶段路由
 */

const editRoute = [
  {
    path: '/showStage',
    name: 'showStage',
    component: getRouter('views/StageManage', 'ShowStage'),
    meta: {
      name: '预算阶段'
    }
  },
  {
    path: '/addStage',
    name: 'addStage',
    component: getRouter('views/StageManage', 'AddStage'),
    meta: {
      name: '新增',
      activeMenu: '/showStage',
      activeName: '预算阶段'
    }
  },
  {
    path: '/showFill',
    name: 'showFill',
    component: getRouter('views/FillManage', 'ShowFill'),
    meta: {
      name: '预算填报'
    }
  },
  {
    path: '/addFill',
    name: 'addFill',
    component: getRouter('views/FillManage', 'AddFill'),
    meta: {
      name: '列表',
      activeMenu: '/showFill',
      activeName: '预算填报'
    }
  },
  {
    path: '/showList',
    name: 'showList',
    component: getRouter('views/ExamineManage', 'ShowList'),
    meta: {
      name: '预算审核'
    }
  },
  {
    path: '/showExamine/:id',
    name: 'showExamine',
    component: getRouter('views/ExamineManage', 'ShowExamine'),
    meta: {
      name: '列表',
      activeMenu: '/showList',
      activeName: '预算审核'
    }
  },
  {
    path: '/show/mx/stage',
    name: 'showExamine',
    component: getRouter('views/BudgetMxManage', 'ShowStage'),
    meta: {
      name: '预算明细'
    }
  },
  {
    path: '/show/mx/content',
    name: 'showExamine',
    component: getRouter('views/BudgetMxManage', 'ShowContentList'),
    meta: {
      name: '列表',
      activeMenu: '/show/mx/stage',
      activeName: '预算明细'
    }
  }
]

export default editRoute
